package com.adou.common.model;

import com.adou.common.model.base.BaseEntity;
import org.apache.ibatis.type.Alias;

import java.util.Date;

@Alias("WorkAttach")
public class WorkAttach extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 流程办理主id
     */
    private Long iflid;

    /**
     * 所属环节id
     */
    private Long itaskid;

    /**
     * 所属环节
     */
    private String ctaskname;

    /**
     * 上传人id
     */
    private Long uid;

    /**
     * 上传人
     */
    private String cuser;

    /**
     * 上传时间
     */
    private Date ddate;

    /**
     * 文件名称
     */
    private String cfilename;

    /**
     * 文件路径
     */
    private String cpath;

    /**
     * 真实文件名称
     */
    private String crealname;

    /**
     * 异步标识
     */
    private String cident;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getIflid() {
        return iflid;
    }

    public void setIflid(Long iflid) {
        this.iflid = iflid;
    }

    public Long getItaskid() {
        return itaskid;
    }

    public void setItaskid(Long itaskid) {
        this.itaskid = itaskid;
    }

    public String getCtaskname() {
        return ctaskname;
    }

    public void setCtaskname(String ctaskname) {
        this.ctaskname = ctaskname == null ? "" : ctaskname;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getCuser() {
        return cuser;
    }

    public void setCuser(String cuser) {
        this.cuser = cuser == null ? "" : cuser;
    }

    public Date getDdate() {
        return ddate;
    }

    public void setDdate(Date ddate) {
        this.ddate = ddate;
    }

    public String getCfilename() {
        return cfilename;
    }

    public void setCfilename(String cfilename) {
        this.cfilename = cfilename == null ? "" : cfilename;
    }

    public String getCpath() {
        return cpath;
    }

    public void setCpath(String cpath) {
        this.cpath = cpath == null ? "" : cpath;
    }

    public String getCrealname() {
        return crealname;
    }

    public void setCrealname(String crealname) {
        this.crealname = crealname == null ? "" : crealname;
    }

    public String getCident() {
        return cident;
    }

    public void setCident(String cident) {
        this.cident = cident == null ? "" :cident;
    }

}
